package cn.tedu.boot011;

public class son extends Father{
    public static String str = "son改写Father中的静态属性";
    public String s = "son改写Father中的非静态属性";
    public static  void fun(){
        System.out.println("son改写Father中的静态方法");
    }
    public void f(){
        System.out.println("son改写Father中的非静态方法");
    }

}
